-
Notifications
You must be signed in to change notification settings - Fork 236
Add better support for default signatures in class definitions #692
Conversation
Thank you @mac-adder! I will have a look and think about it. I see why generating a new unique might be necessary but I have to think about the consequences. |
So basically:
This seems to be the plan, right? |
Two other points:
|
Sorry for the delay ! (I needed some time to set up an environment where I could actually test the changes on the latest versions) So, unique names are necessary to ensure that comments applied to default signatures will be preserved (unless we change how comments are stored), and using Regarding reexports, it was actually not fully working, and should now be fixed, thanks ! Also, I've just added the new test for default signatures, tell me if it looks fine |
@alexbiehl, I think it would be a good thing to have this in Haddock. Is there something more that needs to be done here? |
Did I miss something here? Why was this closed? |
Oh Boy I have no idea |
Aah. I just deleted the master branch and this pr targeted it. Maybe? |
Gotcha. I'm definitely interested in getting this into Haddock, so maybe I'll try to rebase this onto the |
This PR was closed accidentally, see this comment for how to reopen. |
This should fix #439 and fix #567, though I'm not sure whether the solution is satisfying enough (at least it does limit the number of required changes)